package cn.hpu.service;

import java.util.List;

import cn.hpu.po.RoleInfo;

public interface RoleInfoService {

	RoleInfo loadRoleInfoByName(String name);

	void add(RoleInfo roleInfo, Integer[] ids);

	List<RoleInfo> loadRoleInfoes(Integer beginIndex, Integer pageSize);

	Integer getRecordCount();

	RoleInfo loadRoleInfoById(Integer id);

	void update(RoleInfo roleInfo, Integer[] menuInfoIds);

	void delete(RoleInfo roleInfo);

	void deleteAll(Integer[] ids);


}
